package me.sealer.ssm.mapper;

import java.util.List;
import me.sealer.ssm.model.ChinaArea;
import me.sealer.ssm.model.ChinaAreaExample;
import org.apache.ibatis.annotations.Param;

public interface ChinaAreaMapper {
    int countByExample(ChinaAreaExample example);

    int deleteByExample(ChinaAreaExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ChinaArea record);

    int insertSelective(ChinaArea record);

    List<ChinaArea> selectByExample(ChinaAreaExample example);

    ChinaArea selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ChinaArea record, @Param("example") ChinaAreaExample example);

    int updateByExample(@Param("record") ChinaArea record, @Param("example") ChinaAreaExample example);

    int updateByPrimaryKeySelective(ChinaArea record);

    int updateByPrimaryKey(ChinaArea record);
}